package uia.alumni.web;

import java.io.PrintWriter;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.PersistenceUnit;
import javax.persistence.Query;
import javax.servlet.http.HttpServletRequest;
import uia.alumni.data.User;



/**
 * This servlet outputs the application's start page.
 * @author Mats
 */
public class Start extends Page {
    public static final String SERVLET_NAME = "start";

    @PersistenceUnit(name=PERSISTENCE_UNIT)
    private EntityManagerFactory emf;


    public Start() {
        super(null);
    }


    /**
     * Write the html document. This method is called by format, and
     * is expected to write the html code for the main content div
     * to the the PrintWriter out.
     */
    public void writeBody(PrintWriter out, HttpServletRequest request) {

 out.println("<!DOCTYPE html>");
 out.println("<html lang=en>");
 out.println("<head>");
 out.println(" <meta charset=utf-8>");
 out.println("<title>Profil</title>");
 out.println("</head>");
 out.println("<body>");
 out.println("<h1>Startsidedemo</h1>");
 out.println(" </body>");
 out.println(" </html>");


}
}
